﻿using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.PlatForm.Dtos.DbSync
{
    public class DbSyncActionsExecuteInput
    {
        /// <summary>
        /// 源数据库id
        /// </summary>
        [Required(ErrorMessage = "数据库连接From不能为空")]
        public string dbConnectionFrom { get; set; }
        /// <summary>
        /// 目前数据库id
        /// </summary>
        [Required(ErrorMessage = "数据连接To不能为空")]
        public string dbConnectionTo { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        [Required(ErrorMessage = "数据库表不能为空")]
        public string dbTable { get; set; }
    }
}
